package com.zis.auction.model;

import com.zis.auction.model.base.EssayModel;
import com.zis.utils.DateUtil;
import org.beetl.sql.core.annotatoin.Table;

/**
 * Create by wangshen 2018/1/7
 */
@Table(name = "r_essay")
public class Essay extends EssayModel {

    public String getFormatReleaseDate () {
        if (getReleaseDate() != null) {
            return DateUtil.getDate(getReleaseDate(), "yyyy-MM-dd");
        }
        return null;
    }

    public String thumbUrlFull;

    public String getThumbUrlFull() {
        return thumbUrlFull;
    }

    public void setThumbUrlFull(String thumbUrlFull) {
        this.thumbUrlFull = thumbUrlFull;
    }
}
